from django.conf.urls import url
from rest_framework.routers import DefaultRouter

from goods import views

urlpatterns = [
    url(r'^categories/(?P<pk>\d+)/skus',views.SKUListView.as_view())
]

default = DefaultRouter()
default.register('skus/search',views.SKUSearchView,base_name='skus_search')

urlpatterns += default.urls
